<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <!-- 模板渲染{{变量名}} -->
    <div id="app">
        <!-- 获取变量 -->
       <div>{{name}}</div>
       <div v-text="name1"></div>
       <div v-html="name2"></div>

    </div>
    <script>
        // 创建Vue的对象
        let vm = new Vue({
            el:"#app",
            data:{
                name:"这是第一个vue.js程序！！",
                name1:"this is <i>v-text</i>",
                name2:"this is <i>v-html</i>"
            }
        })
    </script>
</body>
</html>